package com.woniu.sharepark.leasesystem.tenant.pojo;

import com.woniu.sharepark.common.pojo.UserInfo;

import java.io.Serializable;

/**
 * 汽车实体类
 * @author xin
 * @date 2019/6/1 11:39
 */
public class Car implements Serializable {
    private Integer carId;

    private String carNumber;

    private Integer uId;

    private String carDriverId;

    private UserInfo userInfo;

    private Integer carFlag;

    public String getCarDriverId() {
        return carDriverId;
    }

    public void setCarDriverId(String carDriverId) {
        this.carDriverId = carDriverId;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }
    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getCarDriverid() {
        return carDriverId;
    }

    public void setCarDriverid(String carDriverid) {
        this.carDriverId = carDriverid;
    }

    public Integer getCarFlag() {
        return carFlag;
    }

    public void setCarFlag(Integer carFlag) {
        this.carFlag = carFlag;
    }

    @Override
    public String toString() {
        return "Car{" +
                "carId=" + carId +
                ", carNumber='" + carNumber + '\'' +
                ", uId=" + uId +
                ", carDriverId='" + carDriverId + '\'' +
                ", userInfo=" + userInfo +
                ", carFlag=" + carFlag +
                '}';
    }
}